package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

public class RebateOrders {
    private String tradeId; // 订单id

    private String numIid; // 商品id

    private String pictUrl; // 商品主图

    private String itemTitle; // 标题

    private Integer itemNum; // 数量

    private BigDecimal price; // 单价

    private BigDecimal payPrice; // 实际支付金额

    private BigDecimal commission;

    private BigDecimal commissionRate;

    private Date createTime; // 创建时间

    private Date earningTime; // 结算时间

    private Byte tkStatus; // 淘客订单状态 3：订单结算(佣金已结算至淘客帐户)，12：订单付款(订单已经付款)， 13：订单失效(订单退款)，14：订单成功(据说是订单已经成交，但还未在商家支付宝成功扣取佣金)

    private String orderType;

    private BigDecimal incomeRate;

    private BigDecimal pubSharePreFee;

    private String auctionCategory;

    private BigDecimal alipayTotalPrice;

    private BigDecimal userCommission; // 用户获得的佣金

    private Boolean userType;

    private String pId;

    private String sTime;

    private String eTime;

    private String mobile;

    // 新添的
    private Byte ispush; // 是否推送

    private String userid;

    // 渠道会员新添
    private String relationId;// 渠道关系ID

    private String specialId;// 会员运营ID

    private Subscribers subscribers;

    private Users users;

    public Subscribers getSubscribers() {
        return subscribers;
    }

    public void setSubscribers(Subscribers subscribers) {
        this.subscribers = subscribers;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    public Byte getIspush() {
        return ispush;
    }

    public void setIspush(Byte ispush) {
        this.ispush = ispush;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public RebateOrders() {
    }

    public RebateOrders(String pId, Byte tkStatus) {
        this.pId = pId;
        this.tkStatus = tkStatus;
    }

    public RebateOrders(Boolean userType, String pId) {
        this.userType = userType;
        this.pId = pId;
    }

    public RebateOrders(Boolean userType, String pId, Byte tkStatus) {
        this.userType = userType;
        this.pId = pId;
        this.tkStatus = tkStatus;
    }

    public RebateOrders(String pId, String sTime, String eTime) {
        this.pId = pId;
        this.sTime = sTime;
        this.eTime = eTime;
    }

    public RebateOrders(Boolean userType, Byte tkStatus, String userid) {
        this.userType = userType;
        this.tkStatus = tkStatus;
        this.userid = userid;
    }

    public String getsTime() {
        return sTime;
    }

    public void setsTime(String sTime) {
        this.sTime = sTime;
    }

    public String geteTime() {
        return eTime;
    }

    public void seteTime(String eTime) {
        this.eTime = eTime;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId == null ? null : tradeId.trim();
    }

    public String getNumIid() {
        return numIid;
    }

    public void setNumIid(String numIid) {
        this.numIid = numIid == null ? null : numIid.trim();
    }

    public String getPictUrl() {
        return pictUrl;
    }

    public void setPictUrl(String pictUrl) {
        this.pictUrl = pictUrl == null ? null : pictUrl.trim();
    }

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle == null ? null : itemTitle.trim();
    }

    public Integer getItemNum() {
        return itemNum;
    }

    public void setItemNum(Integer itemNum) {
        this.itemNum = itemNum;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public BigDecimal getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(BigDecimal commissionRate) {
        this.commissionRate = commissionRate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEarningTime() {
        return earningTime;
    }

    public void setEarningTime(Date earningTime) {
        this.earningTime = earningTime;
    }

    public Byte getTkStatus() {
        return tkStatus;
    }

    public void setTkStatus(Byte tkStatus) {
        this.tkStatus = tkStatus;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType == null ? null : orderType.trim();
    }

    public BigDecimal getIncomeRate() {
        return incomeRate;
    }

    public void setIncomeRate(BigDecimal incomeRate) {
        this.incomeRate = incomeRate;
    }

    public BigDecimal getPubSharePreFee() {
        return pubSharePreFee;
    }

    public void setPubSharePreFee(BigDecimal pubSharePreFee) {
        this.pubSharePreFee = pubSharePreFee;
    }

    public String getAuctionCategory() {
        return auctionCategory;
    }

    public void setAuctionCategory(String auctionCategory) {
        this.auctionCategory = auctionCategory == null ? null : auctionCategory.trim();
    }

    public BigDecimal getAlipayTotalPrice() {
        return alipayTotalPrice;
    }

    public void setAlipayTotalPrice(BigDecimal alipayTotalPrice) {
        this.alipayTotalPrice = alipayTotalPrice;
    }

    public BigDecimal getUserCommission() {
        return userCommission;
    }

    public void setUserCommission(BigDecimal userCommission) {
        this.userCommission = userCommission;
    }

    public Boolean getUserType() {
        return userType;
    }

    public void setUserType(Boolean userType) {
        this.userType = userType;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId == null ? null : pId.trim();
    }

    public String getRelationId() {
        return relationId;
    }

    public void setRelationId(String relationId) {
        this.relationId = relationId;
    }

    public String getSpecialId() {
        return specialId;
    }

    public void setSpecialId(String specialId) {
        this.specialId = specialId;
    }
}